package node;

import node.Node;

/**
 * Created by thormentor on 29-04-2014.
 */
public class TextNode extends Node {
    private final String s;

    public TextNode(String s) {
        this.s = s;
    }

    @Override
    protected String getBegin() {
        return s;
    }

    @Override
    protected String getEnd() {
        return null;
    }
}
